algalcommand.alpha
Class PBRDataEvent
java.lang.Object
algalcommand.alpha.PBRDataEvent
public class PBRDataEvent
- extends java.lang.Object
An event object representing a bit of data from the PBR
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBRDataEvent
public PBRDataEvent(Photobioreactor src,
org.w3c.dom.Element xml)
- The constructor for making an event
- Parameters:
src - The PBR that created this eventxml - The input data that triggered this event
getXML
public org.w3c.dom.Element getXML()
- Returns:
- The XML tag of the data
getSource
public Photobioreactor getSource()
- Returns:
- The photobioreactor that generated this data
getMeasurementType
public java.lang.String getMeasurementType()
- Returns:
- The "type" attribute of the data
getMeasurementUnit
public java.lang.String getMeasurementUnit()
- Returns:
- The "units" attribute of the data
getValue
public java.lang.String getValue()
- Returns:
- the "value" attribute of the data